package com.bindapp.model;

import android.content.Context;
import android.databinding.DataBindingUtil;
import android.view.LayoutInflater;
import android.view.View;

import com.bindapp.R;
import com.bindapp.databinding.ActivityDevicesteponeBinding;
import com.bindapp.util.Static;

public class DeviceStepOneModel extends BaseModel {
    private ActivityDevicesteponeBinding binding;

    public DeviceStepOneModel(Context context){
        super(context);
        binding=DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.activity_devicestepone,null,false,null);
        binding.setClick(new ViewClick());
    }

    public class ViewClick{
        public void onClick(View view){
            switch(view.getId()){
                case R.id.nextbtn:
                    Static.myLog("点击");

                    break;
            }
        }
    }

    @Override
    public ActivityDevicesteponeBinding getBinding() {
        return binding;
    }
}
